﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GxcToCsharpParser.GrcParser
{
   /// <summary>
   /// FEDIT,,, width,{&}label,{required},{validation},{default_value}, {file_path},{file_mask} 
   /// </summary>
   class FolderEditWidget : EditWidget
   {
      /// <summary>
      /// Indicates the default path from which to create a file list.
      /// Use a tilde (~) to indicate the Geosoft directory.
      /// Multiple items may be specified, separated by commas.
      /// Defines the file name mask (default is *.*).
      /// "/" to look for directories only.
      /// ”**” to allow multiple file selection (see note below)
      /// "*.grd" displays all data and image DAT types that are available.
      /// "*.GRDDAT" limits the list to data grid DATs.
      /// "*.IMGDAT" limits the list to image DATs.
      /// </summary>
      /// <value>The file path.</value>
      public string FilePath { get; set; }
      /// <summary>
      /// Multiple masks can be specified by separating each mask by a semicolon.
      /// To select multiple files of a specific type, make the first mask “**” followed 
      /// by a semicolon and the mask for the file type wanted.       
      /// For example “**;*.grd” allows the user to select multiple grid files.
      /// </summary>
      public string FileMask { get; set; }
   }
}
